package org.example.bean.spring;

import org.springframework.beans.factory.SmartInitializingSingleton;
import org.springframework.stereotype.Component;

//@Component
public class MySmartBean implements SmartInitializingSingleton {
    @Override
    public void afterSingletonsInstantiated() {
        System.out.println("SmartInitializingSingleton afterSingletonsInstantiated");
    }
}
